package com.xuelang.pipeline.artifact.app.harborv2.xo;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
import java.util.Map;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Reference {
    private Map<String, String> annotations;
    /**
     * The digest of the child artifact
     */
    @JsonProperty("child_digest")
    private String childDigest;
    /**
     * The child ID of the reference
     */
    @JsonProperty("child_id")
    private Long childId;
    /**
     * The parent ID of the reference
     */
    @JsonProperty("parent_id")
    private Long parentId;
    private Platform platform;
    /**
     * The download URLs
     */
    private List<String> urls;
}